package cash_access;

import mware_lib.RemoteException;

/**
 * 
 * @author Laurine
 * Distant inteface of the Banks for the ATMs
 *
 */

public abstract class Account {
	public abstract void deposit(double amount) throws RemoteException;
	public abstract void withdraw(double amount) throws OverdraftException, RemoteException;
	public abstract double getBalance() throws RemoteException;
	
	//get the Account proxy class
	public static Class<?> getProxyClass(){
    	return AccountProxy.class;
    }
    
	//get the Skeleton proxy class
    public static Class<?> getSkeletonClass(){
    	return AccountSkeleton.class;
    }

}
